// 组件引入
import TextSelect from './components/TextSelect'
import InnerTable from './components/InnerTable';
import DraftDrawer from './components/DraftDrawer'
import Uploader from "@/custom/nepu/components/Uploader"
import LoginUserCell from '@/custom/nepu/components/LoginUserCell'
import AntdUserMulSelect from '@/module/system/components/AntdUserMulSelect'

// JS 引入
import { queryOne as getUser } from '@/module/system/api/user'
import { createOne as createDraft } from '@/custom/nepu/api/draft'
import { mergeWith } from 'lodash-es'
// STORE 引入
import useUserStore from '@/store/modules/user'
const userStore = useUserStore()
// 表单定义
const formDefault = {
    textbookDictId: undefined,
    bookName: undefined,
    fileIds: [],
    firstAuthor: undefined,
    firstAuthorId: 0,
    publisher: undefined,
    userIdList: [],
    wordsNumber: 0,
    signatureUnit: undefined,
    publicationDate: undefined,
}

export {
    Uploader,
    TextSelect,
    InnerTable,
    LoginUserCell,
    DraftDrawer,
    getUser,
    formDefault,
    createDraft,
    userStore,
    mergeWith,
    AntdUserMulSelect
}